<!DOCTYPE html>
<html>
	{% load static %}
<head>
      <title>Расписание</title>
      <link rel="stylesheet" href="{% static 'accounts/style_hr.css' %}">
      <link rel="icon" href="{% static 'images/favicon.ico' %}">
      <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>

<body>
      <nav class="navbar">
	      <img style="margin: 10px" src="{% static 'accounts/images/logo_center.png' %}" width="120" height="120" alt="logo">
            <div class="auth-data" style="text-align: center;">
              <p style="margin-right: 10px;">Вы авторизированы как Менеджер</p>
	      <a href="{% url 'accounts:logout' %}">Выйти</a>
            </div>
      </nav>    
      <div class="table-container">
        <table>
          <thead>
            <tr>
              <th class="th" rowspan="2">Фамилия, Имя, Отчество</th>
              <th class="th" rowspan="2">Модальность</th>
              <th class="th" rowspan="2">Дополнительные модальности</th>
              <th class="th" rowspan="2">Ставка</th>
              <th class="th" rowspan="2"></th>
              <th class="th" colspan="31">Числа месяца</th>
              <th class="th" rowspan="2"></th>
            </tr>
            <tr>
              <th class="th">1</th>
              <th class="th">2</th>
              <th class="th">3</th>
              <th class="th">4</th>
              <th class="th">5</th>
              <th class="th">6</th>
              <th class="th">7</th>
              <th class="th">8</th>
              <th class="th">9</th>
              <th class="th">10</th>
              <th class="th">11</th>
              <th class="th">12</th>
              <th class="th">13</th>
              <th class="th">14</th>
              <th class="th">15</th>
              <th class="th">16</th>
              <th class="th">17</th>
              <th class="th">18</th>
              <th class="th">19</th>
              <th class="th">20</th>
              <th class="th">21</th>
              <th class="th">22</th>
              <th class="th">23</th>
              <th class="th">24</th>
              <th class="th">25</th>
              <th class="th">26</th>
              <th class="th">27</th>
              <th class="th">28</th>
              <th class="th">29</th>
              <th class="th">30</th>
              <th class="th">31</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="td" rowspan="4">Врач 1</td>
              <td class="td" rowspan="4">РГ</td>
              <td class="td" rowspan="4">КТ, ММГ, ФЛГ, Денситометрия</td>
              <td class="td" rowspan="4">1</td>
              <td class="td">с</td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td">8:00</td>
              <td class="td"></td>
              <td class="td"></td>
	      <td class="td" rowspan="4"><a href=""><img src="{% static 'accounts/images/delete.png' %}" /></a></td>
            </tr>
            <tr>
              <td class="td">до</td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td">19:30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td">20:30</td>
              <td class="td"></td>
              <td class="td"></td>
            </tr>
            <tr>
              <td class="td">перерыв</td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td">30</td>
              <td class="td"></td>
              <td class="td"></td>
            </tr>
            <tr>
              <td class="td">отраб.</td>
              <td class="td">12</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">12</td>
              <td class="td"></td>
              <td class="td">12</td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td">11</td>
              <td class="td"></td>
              <td class="td"></td>
            </tr>
          </tbody>
          <tfoot>
	      <body style="margin-top: 30px;margin-left: 30px;">
		<form action="{% url "accounts:excel_import_count" %}" method="post" enctype="multipart/form-data">
            	{% csrf_token %}
            	<input type="file"
                   title="Выберите файл Excel"
                   name="excel_file"
                   style="border: 1px solid black; padding: 5px;"
                   required="required">
            	<p>
            	<input type="submit"
                   value="Выгрузить"
                   style="border: 1px solid green; padding:5px; border-radius: 2px; cursor: pointer;">
        	</form>
	      </body>
	      <tr>
              <th class="th" colspan="42"><button class="btn btn-primary">Добавить врача</button></th>
            </tr>
          </tfoot>
        </table>
      </div>
</body>

</html>
